import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueQrcodeReader from "vue-qrcode-reader";
import { Lazyload, Toast } from 'vant';
Vue.use(Lazyload);
Vue.use(Toast);

Vue.prototype.$http = axios;
Vue.use(VueQrcodeReader);
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this;
  }
}).$mount('#app')
